<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@page import="com.boxin.ims.modules.momarketing.common.QRCodeUtils"%>
<!DOCTYPE html>
<html lang="zh-CN" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<title>我的推荐</title>
<link rel="stylesheet" type="text/css" href="${ctxStatic}/member/themes/fashion/css/user.css" />
	<style type="text/css">
	.prizeImg{width:400px;margin:0 auto; display: block;position: relative;z-index:99}
	</style>
</head>
<body>
<div class="body">
  <div class="backg" style="min-height: 450px;">

   
	   	<div id="cSearchList" style="text-align:center;">
					
							<c:if test="${ wechatMemberList != null }">
						
						<div style="height:30px">
							<span>您有 ${membersCount }位推荐会员</span><br/>
						</div>
						
						<table border="1"   frame="void" rules="rows" style="width:100%;" >
							<tr>
							<td width="40%">姓名</td>
							<td width="40%">积分</td>
							<td width="20%">余额</td>
							</tr>	
							
							<c:forEach items="${ wechatMemberList}" var="member" varStatus="i">
							
							<tr>
								<td width="40%" >
								${member.name}
								</td>
								<td width="40%">
								<c:if test="${userDefine.recommendScore eq null}">0</c:if>
					          	<c:if test="${userDefine.recommendScore ne null}">
					          		<c:if test="${userDefine.recommendScore eq 0}">0</c:if>
					          		<c:if test="${userDefine.recommendScore ne 0}">
							       		<fmt:formatNumber value="${userDefine.recommendScore/1000 }" pattern="#,###.###"  minFractionDigits="3"/>
					          		</c:if>
					          	</c:if>
								</td>
								<td width="20%"><fmt:formatNumber value="${userDefine.recommendMoney/100}" pattern="##.##"  minFractionDigits="2"/>元</td>
							</tr>
							</c:forEach>
							
							<tr>
								<td colspan="3">
								<span style="color:green">未激活的余额将在推荐人消费后激活</span>
								</td>
							</tr>
							
						</table>
						
						
						
						
					</c:if>	
					
						<c:if test="${ wechatMemberList == null }">

						<ul class="csList" >
		
						<li >
						<div class="w-gooa" style="color:red; text-align: center;margin-top:30px;">
					   亲,您还没有推荐会员哦，赶快把您的暗号告诉给您的小伙伴，加油哦！！
					    </div>		
						</li>
						</ul>
					</c:if>	
            </div>
            
</div>
     <c:if test="${uid ne '34' }">
		 <div class="footer">
        <p><!-- 版权所有&copy;&nbsp;&nbsp;  --><br>
		技术支持：<a href="http://www.hdzhx.com/boxin/index.html" >智讯互联</a><!-- &nbsp;&nbsp;	
		<a href="tel:03107056607">0310-7056607</a> -->
      </div>
	</c:if>
  </div>
</body>
</html>
